{assign var='today' value='0'}
{assign var='week' value='0'}
{assign var='later' value='0'}
			

<div class="tabber" id="tab1">
	
	<div class="tabbertab" title="Upcoming">
	
			<div id="layout_main_top">
			
			</div>
			<div id="layout_main">
		
			<div class="admin_menu">
			{if $smarty.session.level gte $USER_RIGHTS.raid_add}<a href="index.php?page=raids&amp;action=new"><img src="./images/buttons/raid_add.png" alt="" /> Add Raid</a>{/if}
			</div>
			


			
			<DIV class="layout_large_table_top">
			
			</DIV>
			<DIV class="layout_large_table">
			
			
			{* Show the raids for today *}
			<table id="main_table" cellspacing='0'>
			<tr class="menu_header">
				<th colspan="10">
					Today
				</th>
			</tr>
			<tr class="menu_header">
				<th>
					&nbsp;
					&nbsp;
				</th>
				<th>
						Location
				</th>
				<th>
						Time
				</th>
				<th>
						
				</th>
				<th>
						Leader
				</th>
				<th nowrap>
						# Main
				</th>
				<th nowrap>
						# Sub
				</th>
				<th>
						Limit
				</th>
				<th>
						Description
				</th>
				<th>
					&nbsp;
					&nbsp;
				</th>
			</tr>
			

			
			{foreach name=current_raids_day item=cur_raid from=$current_raids}

			{if $cur_raid.date_time|date_format:"%a %d/%m/%y" eq $smarty.now|date_format:"%a %d/%m/%y"}

			{assign var='today' value='1'}
			
			
			<tr class="{cycle values="row_1,row_2"}">
				<td nowrap>
			
				{if $cur_raid.status eq 1}
					<img src="./images/buttons/locked.gif" height="14px" width="14px" {popup text="This raid is closed for signups" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
				{else}
					{if $cur_raid.user_status eq 1}
						<img src="./images/buttons/main_up.gif" height="14px" width="14px" {popup text="You are signed up as a Main" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 2}
						<img src="./images/buttons/substitute_up.gif" height="14px" width="14px" {popup text="you are signed up as a Sub"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 3}
						<a href="index.php?page=signup&action=signup&amp;rid={$cur_raid.raid_id}&amp;s={$cur_raid.user_status}"><img src="./images/buttons/main_add.gif" height="14px" width="14px" {popup text="You are allowed to sign up as Main or Substitue"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
					{elseif $cur_raid.user_status eq 4}
						<a href="index.php?page=signup&action=signup&amp;rid={$cur_raid.raid_id}&amp;s={$cur_raid.user_status}"><img src="./images/buttons/substitute_add.gif" height="14px" width="14px" {popup text="You are allowed to sign up as Sub"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
					{elseif $cur_raid.user_status eq 5}
						<img src="./images/buttons/cancel.png" height="16px" width="16px" {popup text="You are not allowed to sign up at all" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 6}
						<img src="./images/buttons/frozen.png" height="14px" width="14px" {popup text="The raid is frozen! You cannot signup for unsign anymore!" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{/if}
				{/if}
					&nbsp;
				</td>
				<td nowrap>
					{$cur_raid.event_name}
				</td>
				<td nowrap>
					{$cur_raid.date_time|date_format:"%a %d/%m/%y"}
				</td>
				<td nowrap>
					{$cur_raid.date_time|date_format:"%H:%M"}
				</td>
				<td>
					{$cur_raid.leader_name}
				</td>
				<td>
					{$cur_raid.signups}/{$cur_raid.no_players}
				</td>
				<td>
					{$cur_raid.subs}/{$cur_raid.substitute_max}
				</td>
				<td>
					{include file='raids.raid_roles.tpl' assign=raid_roles}
				
				
					<img src="./images/buttons/icon-hint.png" {popup text=$raid_roles  center=#overlib_center# wrap=false offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# textcolor=#overlib_textcolor#  bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=175} />
				</td>
				<td nowrap>
			
				{if $cur_raid.description|count_characters gt 23}
				<a href="#" {popup text=$cur_raid.description  center=#overlib_center# wrap=false offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# textcolor=#overlib_textcolor# width=145} >{$cur_raid.description|truncate:23:"...":true}</a>
				{else}
				{$cur_raid.description}
				{/if}
				</td>
				<td nowrap>
				{if $smarty.session.level gte $USER_RIGHTS.raid_change}
				<a href='index.php?page=raids&amp;action=edit&amp;raid_id={$cur_raid.raid_id}'><img src="./images/buttons/edit.gif" alt=""></img></a>
				{/if}
				{if $smarty.session.level gte $USER_RIGHTS.raid_delete}
				<img src="./images/buttons/delete.gif" onclick="deleteRaid({$cur_raid.raid_id}, 'raids')" alt=""></img></a>
				{/if}
				<img border=0 onclick="triggerSignups('{$cur_raid.raid_id}' , 'detailsimage{$cur_raid.raid_id}', './images/buttons/details.gif', './images/buttons/details_minus.gif', {$smarty.session.uid})" src='./images/buttons/details.gif' id='detailsimage{$cur_raid.raid_id}' alt="" />
				</td>
			</tr>
			<tr class="small">
				<td colspan="10">
					<DIV id="{$cur_raid.raid_id}"  style="display:none;">
						<img src='./images/ajax/ajax-loader.gif'></img>
					</DIV>
				</td>
			</tr>
			{/if}
			{/foreach}
			
			{if $today eq '0'}
			<tr class="{cycle values="row_1,row_2" reset=true advance=false}">
				<td colspan=10>No raids for today could be found.</td>
			</tr>
			{/if}
			
			<tr class="menu_footer">
				<td colspan=10><br></td>
			</tr>
			<tr class="menu_header">
				<td colspan="10">
					<br>
				</td>
			</tr>
			{* Show the raids for this week *}
			<tr class="menu_header">
				<td colspan="10">
					This Week
				</td>
			</tr>

			<tr class="menu_header">
				<th>
					&nbsp;
					&nbsp;
				</th>
				<th>
						Location
				</th>
				<th>
						Time
				</th>
				<th>
						
				</th>
				<th>
						Leader
				</th>
				<th nowrap>
						# Main
				</th>
				<th nowrap>
						# Sub
				</th>
				<th>
						Limit
				</th>
				<th>
						Description
				</th>
				<th>
					&nbsp;
					&nbsp;
				</th>
			</tr>
			
			
			{foreach name=current_raids_week item=cur_raid from=$current_raids}
			
			{assign var=start_week value=$smarty.now|date_format:"%j"}
			
			{math equation="x + 7" x=$start_week assign=end_week}
			
			{if $cur_raid.date_time|date_format:"%j" gt $smarty.now|date_format:"%j" && $cur_raid.date_time|date_format:"%j" lt $end_week}

			{assign var='week' value='1'}
			

			<tr class="{cycle values="row_1,row_2"}">
				<td nowrap>
			
				{if $cur_raid.status eq 1}
					<img src="./images/buttons/locked.gif" height="14px" width="14px" {popup text="This raid is closed for signups" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
				{else}
					{if $cur_raid.user_status eq 1}
						<img src="./images/buttons/main_up.gif" height="14px" width="14px" {popup text="You are signed up as a Main" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 2}
						<img src="./images/buttons/substitute_up.gif" height="14px" width="14px" {popup text="you are signed up as a Sub"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 3}
						<a href="index.php?page=signup&action=signup&amp;rid={$cur_raid.raid_id}&amp;s={$cur_raid.user_status}"><img src="./images/buttons/main_add.gif" height="14px" width="14px" {popup text="You are allowed to sign up as Main or Substitue"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
					{elseif $cur_raid.user_status eq 4}
						<a href="index.php?page=signup&action=signup&amp;rid={$cur_raid.raid_id}&amp;s={$cur_raid.user_status}"><img src="./images/buttons/substitute_add.gif" height="14px" width="14px" {popup text="You are allowed to sign up as Sub"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
					{elseif $cur_raid.user_status eq 5}
						<img src="./images/buttons/cancel.png" height="16px" width="16px" {popup text="You are not allowed to sign up at all" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 6}
						<img src="./images/buttons/frozen.png" height="14px" width="14px" {popup text="The raid is frozen! You cannot signup for unsign anymore!" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{/if}
				{/if}
					&nbsp;
				</td>
				<td nowrap>
					{$cur_raid.event_name}
				</td>
				<td nowrap>
					{$cur_raid.date_time|date_format:"%a %d/%m/%y"}
				</td>
				<td nowrap>
					{$cur_raid.date_time|date_format:"%H:%M"}
				</td>
				<td>
					{$cur_raid.leader_name}
				</td>
				<td>
					{$cur_raid.signups}/{$cur_raid.no_players}
				</td>
				<td>
					{$cur_raid.subs}/{$cur_raid.substitute_max}
				</td>
				<td>
					{include file='raids.raid_roles.tpl' assign=raid_roles}
				
				
					<img src="./images/buttons/icon-hint.png" {popup text=$raid_roles  center=#overlib_center# wrap=false offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# textcolor=#overlib_textcolor#  bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=175} />
				</td>
				<td nowrap>
			
				{if $cur_raid.description|count_characters gt 23}
				<a href="#" {popup text=$cur_raid.description  center=#overlib_center# wrap=false offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# textcolor=#overlib_textcolor# width=145} >{$cur_raid.description|truncate:23:"...":true}</a>
				{else}
				{$cur_raid.description}
				{/if}
				</td>
				<td nowrap>
				{if $smarty.session.level gte $USER_RIGHTS.raid_change}
				<a href='index.php?page=raids&amp;action=edit&amp;raid_id={$cur_raid.raid_id}'><img src="./images/buttons/edit.gif" alt=""></img></a>
				{/if}
				{if $smarty.session.level gte $USER_RIGHTS.raid_delete}
				<img src="./images/buttons/delete.gif" onclick="deleteRaid({$cur_raid.raid_id}, 'raids')" alt=""></img></a>
				{/if}
				<img border=0 onclick="triggerSignups('{$cur_raid.raid_id}' , 'detailsimage{$cur_raid.raid_id}', './images/buttons/details.gif', './images/buttons/details_minus.gif', {$smarty.session.uid})" src='./images/buttons/details.gif' id='detailsimage{$cur_raid.raid_id}' alt="" />
				</td>
			</tr>
			<tr class="small">
				<td colspan="10">
					<DIV id="{$cur_raid.raid_id}"  style="display:none;">
						<img src='./images/ajax/ajax-loader.gif'></img>
					</DIV>
				</td>
			</tr>
			{/if}
			{/foreach}
			
			{if $week eq '0'}
			<tr class="{cycle values="row_1,row_2" reset=true advance=false}">
				<td colspan=10>No raids for this week could be found.</td>
			</tr>
			{/if}
			<tr class="menu_footer">
				<td colspan=10><br></td>
			</tr>
			<tr class="menu_header">
				<td colspan="10">
					<br>
				</td>
			</tr>
			
			{* Show the raids that are later *}
			<tr class="menu_header">
				<td colspan="10">
					Later
				</td>
			</tr>

			<tr class="menu_header">
				<th>
					&nbsp;
					&nbsp;
				</th>
				<th>
						Location
				</th>
				<th>
						Time
				</th>
				<th>
						
				</th>
				<th>
						Leader
				</th>
				<th nowrap>
						# Main
				</th>
				<th nowrap>
						# Sub
				</th>
				<th>
						Limit
				</th>
				<th>
						Description
				</th>
				<th>
					&nbsp;
					&nbsp;
				</th>
			</tr>
			
			
			{foreach name=current_raids_later item=cur_raid from=$current_raids}
			
			{if $cur_raid.date_time|date_format:"%j" gte $end_week}

			{assign var='later' value='1'}
			

			<tr class="{cycle values="row_1,row_2"}">
				<td nowrap>
			
				{if $cur_raid.status eq 1}
					<img src="./images/buttons/locked.gif" height="14px" width="14px" {popup text="This raid is closed for signups" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
				{else}
					{if $cur_raid.user_status eq 1}
						<img src="./images/buttons/main_up.gif" height="14px" width="14px" {popup text="You are signed up as a Main" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 2}
						<img src="./images/buttons/substitute_up.gif" height="14px" width="14px" {popup text="you are signed up as a Sub"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 3}
						<a href="index.php?page=signup&action=signup&amp;rid={$cur_raid.raid_id}&amp;s={$cur_raid.user_status}"><img src="./images/buttons/main_add.gif" height="14px" width="14px" {popup text="You are allowed to sign up as Main or Substitue"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
					{elseif $cur_raid.user_status eq 4}
						<a href="index.php?page=signup&action=signup&amp;rid={$cur_raid.raid_id}&amp;s={$cur_raid.user_status}"><img src="./images/buttons/substitute_add.gif" height="14px" width="14px" {popup text="You are allowed to sign up as Sub"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
					{elseif $cur_raid.user_status eq 5}
						<img src="./images/buttons/cancel.png" height="16px" width="16px" {popup text="You are not allowed to sign up at all" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{elseif $cur_raid.user_status eq 6}
						<img src="./images/buttons/frozen.png" height="14px" width="14px" {popup text="The raid is frozen! You cannot signup for unsign anymore!" center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img>
					{/if}
				{/if}
					&nbsp;
				</td>
				<td nowrap>
					{$cur_raid.event_name}
				</td>
				<td nowrap>
					{$cur_raid.date_time|date_format:"%a %d/%m/%y"}
				</td>
				<td nowrap>
					{$cur_raid.date_time|date_format:"%H:%M"}
				</td>
				<td>
					{$cur_raid.leader_name}
				</td>
				<td>
					{$cur_raid.signups}/{$cur_raid.no_players}
				</td>
				<td>
					{$cur_raid.subs}/{$cur_raid.substitute_max}
				</td>
				<td>
					{include file='raids.raid_roles.tpl' assign=raid_roles}
				
				
					<img src="./images/buttons/icon-hint.png" {popup text=$raid_roles  center=#overlib_center# wrap=false offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# textcolor=#overlib_textcolor#  bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=175} />
				</td>
				<td nowrap>
			
				{if $cur_raid.description|count_characters gt 23}
				<a href="#" {popup text=$cur_raid.description  center=#overlib_center# wrap=false offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# textcolor=#overlib_textcolor# width=145} >{$cur_raid.description|truncate:23:"...":true}</a>
				{else}
				{$cur_raid.description}
				{/if}
				</td>
				<td nowrap>
				{if $smarty.session.level gte $USER_RIGHTS.raid_change}
				<a href='index.php?page=raids&amp;action=edit&amp;raid_id={$cur_raid.raid_id}'><img src="./images/buttons/edit.gif" alt=""></img></a>
				{/if}
				{if $smarty.session.level gte $USER_RIGHTS.raid_delete}
				<img src="./images/buttons/delete.gif" onclick="deleteRaid({$cur_raid.raid_id}, 'raids')" alt=""></img></a>
				{/if}
				<img border=0 onclick="triggerSignups('{$cur_raid.raid_id}' , 'detailsimage{$cur_raid.raid_id}', './images/buttons/details.gif', './images/buttons/details_minus.gif', {$smarty.session.uid})" src='./images/buttons/details.gif' id='detailsimage{$cur_raid.raid_id}' alt="" />
				</td>
			</tr>
			<tr class="small">
				<td colspan="10">
					<DIV id="{$cur_raid.raid_id}"  style="display:none;">
						<img src='./images/ajax/ajax-loader.gif'></img>
					</DIV>
				</td>
			</tr>
			{/if}
			{/foreach}
			
			{if $later eq '0'}
			<tr class="{cycle values="row_1,row_2" reset=true advance=false}">
				<td colspan=10>No later raids could be found.</td>
			</tr>
			{/if}
			<tr class="menu_footer">
				<td colspan=10><br></td>
			</tr>
			<tr class="menu_header">
				<td colspan="10">
					<br>
				</td>
			</tr>
			
			</table>
			</div>
			<div id="layout_main_bottom">
			
			</div>
		</div>
	</div>
	
	<div class="tabbertab" title="Previous">
	
	<div id="layout_main_top">
	
	</div>
	<div id="layout_main">
	
	<DIV class="layout_large_table_top">
	
	</DIV>
	<DIV class="layout_large_table">
	
	
	<table id="main_table" cellspacing='0'>
	<tr class="menu_header">
		<th>
				Location
		</th>
		<th>
				Date
		</th>
		<th>
				Time
		</th>
		<th>
				Leader
		</th>
		<th>
				# Main
		</th>
		<th>
				# Sub
		</th>
		<th>
				Limit
		</th>
		<th>
				Description
		</th>
		<th>
			&nbsp;
			&nbsp;
		</th>
	</tr>
	
	{foreach name=previous_raids item=cur_raid from=$previous_raids}
	
	<tr class="{cycle values="row_1,row_2"}">
		<td>
			{$cur_raid.event_name}
		</td>
		<td>
			{$cur_raid.date_time|date_format:"%a %d/%m/%y"}
		</td>
		<td>
			{$cur_raid.date_time|date_format:"%H:%M:%S"}
		</td>
		<td>
			{$cur_raid.leader_name}
		</td>
		<td>
			{$cur_raid.signups}/{$cur_raid.no_players}
		</td>
		<td>
			{$cur_raid.subs}/{$cur_raid.substitute_max}
		</td>
		<td>
			{$cur_raid.class_max}
		</td>
		<td>
		{if $cur_raid.description|count_characters gt 23}
		<a href="#" {popup text=$cur_raid.description  center=#overlib_center# wrap=false offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145} >{$cur_raid.description|truncate:23:"...":true}</a>
		{else}
		{$cur_raid.description}
		{/if}
		</td>
		<td NOWRAP>
		{if $smarty.session.level gte $USER_RIGHTS.raid_update_rp_items}
	        <a href="index.php?page=manual&action=manual&amp;raid={$cur_raid.raid_id}&step=1"><img src="./images/buttons/manual_up.gif" height="14px" width="14px" {popup text="<b>Manually</b> update this raids RP"  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
	    {/if}
	    {if $smarty.session.level gte $USER_RIGHTS.raid_update_rp_items}
		<a href="index.php?page=administration&action=items&amp;raid={$cur_raid.raid_id}"><img src="./images/buttons/substitute_add.gif" height="14px" width="14px" {popup text="Update this raids RP for <b>items</b><br>Using the raid report."  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
		{/if}
		{if $smarty.session.level gte $USER_RIGHTS.raid_update_rp_events}
		<a href="index.php?page=administration&action=events&amp;raid={$cur_raid.raid_id}"><img src="./images/buttons/main_add.gif" height="14px" width="14px" {popup text="Update this raids RP for <b>events</b><br>Using the raid report."  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145}></img></a>
		{/if}
		{if $smarty.session.level gte $USER_RIGHTS.raid_change}
		<a href='index.php?page=raids&amp;action=edit&amp;raid_id={$cur_raid.raid_id}'><img src="./images/buttons/edit.gif" alt=""></img></a>
		<img border=0 onclick="triggerSignups('{$cur_raid.raid_id}' , 'detailsimageRaid{$cur_raid.raid_id}', './images/buttons/details.gif', './images/buttons/details_minus.gif', {$smarty.session.uid})" src='./images/buttons/details.gif' id='detailsimageRaid{$cur_raid.raid_id}' alt="" {popup text="Signups as they were when the raid started."  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145} />
		{/if}
		<img border=0 onclick="triggerBalance('{$cur_raid.raid_id}' , 'detailsimageBal{$cur_raid.raid_id}', './images/buttons/etails.gif', './images/buttons/details_minus.gif', {$smarty.session.uid})" src='./images/buttons/details.gif' id='detailsimageBal{$cur_raid.raid_id}' alt="" {popup text="Raid balance, amount of RP distributed."  center=#overlib_center# wrap=true offsety=#overlib_offsety# fgcolor=#overlib_fgcolor# bgcolor=#overlib_bgcolor# textcolor=#overlib_textcolor# width=145} />
		</td>
		
	</tr>
	<tr class="small">
		<td colspan="10">
			<DIV id="{$cur_raid.raid_id}" style="display:none;">
				<img src='./images/ajax/ajax-loader.gif'></img>
			</DIV>
		</td>
	</tr>
	{foreachelse}
		<tr class="{cycle values="row_1,row_2"}">
			<td colspan=10>No Raids could be found.</td>
		</tr>
	{/foreach}
	
	<tr class="menu_footer">
		<td colspan=10></td>
	</tr>
	
	</table>
	</div>
	
	<div class="layout_large_table_bottom">
	
	</div>
	</div>
	<div id="layout_main_bottom">
	
	</div>
	</div>
</div>